// const req = 'http://192.168.2.188:8389'
const req = 'https://xcx.zzzsyh.com'

const apiAll = {
	getPartsTypeByPid: req + '/applet/zsyh/parts/getPartsTypeByPid?', // 获取产品分类
	getPartsList: req + '/applet/zsyh/parts/getPartsList?', //获取产品列表
	sendSMS: req + '/applet/zsyh/agentinfo/sendSMS?', // 发送短信
	loginCode: req + '/applet/zsyh/agentinfo/loginCode?', // 会长登陆 -- 手机号验证码
	loginPassword: req + '/applet/zsyh/agentinfo/loginPassword?', // 会长登陆 -- 手机号密码
	forgetAgentPassword: req + '/applet/zsyh/agentinfo/forgetAgentPassword?', // 忘记密码，修改密码
	getFactoryByTypeId: req + '/applet/zsyh/factory/getFactoryByTypeId?', // 根据产品分类获取厂家列表
	getPartsAttributeByFactoryId: req + '/applet/zsyh/parts/getPartsAttributeByFactoryId?', // 获取此厂家下所有产品规格
	submitReservation: req + '/applet/zsyh/parts/submitReservation?', // 提交预订单
	getAgentAddressByAgentId: req + '/applet/zsyh/agentAddress/getAgentAddressByAgentId?', // 获取我的全部地址
	getAgentAddressById: req + '/applet/zsyh/agentAddress/getAgentAddressById?', // 获取地址详情
	saveAgentAddress: req + '/applet/zsyh/agentAddress/saveAgentAddress?', // 添加收货地址
	updateAgentAddress: req + '/applet/zsyh/agentAddress/updateAgentAddress?', // 编辑收货地址
	delAgentAddress: req + '/applet/zsyh/agentAddress/delAgentAddress?', // 删除收货地址
	setDefault: req + '/applet/zsyh/agentAddress/setDefault?', // 收货地址 设为默认
	getAreaByPid: req + '/applet/zsyh/agentAddress/getAreaByPid?', // 获取省市县
	getAgentDefaultAddress: req + '/applet/zsyh/agentAddress/getAgentDefaultAddress?', // 获取我的默认地址
	getPartsAttributeByPartsId: req + '/applet/zsyh/parts/getPartsAttributeByPartsId?', // 获取规格列表
	preserveMyParts: req + '/applet/zsyh/parts/preserveMyParts?', // 批量上架到我的店铺
	getReserveOrderList: req + '/applet/zsyh/parts/getReserveOrderList?', // 获取会长的预订单列表
	getReserveOrderDetails: req + '/applet/zsyh/parts/getReserveOrderDetails?', // 获取预订单详情
	cancelOrder: req + '/applet/zsyh/parts/cancelOrder?', // 取消预订单
	settleAccounts: req + '/applet/zsyh/parts/settleAccounts?', // 确认结算
	getAgentPartsList: req + '/applet/zsyh/agentParts/getAgentPartsList?', // 会长店铺产品列表
	getAgentInfoById: req + '/applet/zsyh/agentinfo/getAgentInfoById?', // 获取会长信息，店铺信息
	updateAgentInfo: req + '/applet/zsyh/agentinfo/updateAgentInfo?', // 修改店铺信息
	updatePartsIsShow: req + '/applet/zsyh/agentParts/updatePartsIsShow?', // 产品上架，下架
	upload: req + '/common/upload?', // 单图上传
	savePartsAttribute: req + '/applet/zsyh/agentParts/savePartsAttribute?', // 保存产品型号
	obtainId: req + '/applet/zsyh/agentParts/obtainId?', // 获取保存型号时候的id
	getAttributeListByPartsId: req + '/applet/zsyh/agentParts/getAttributeListByPartsId?', // 查看已保存的型号
	saveMyParts: req + '/applet/zsyh/agentParts/saveMyParts?', // 	新增产品
	updateMyParts: req + '/applet/zsyh/agentParts/updateMyParts?', // 修改产品
	getPartsById: req + '/applet/zsyh/agentParts/getPartsById?', // 查询产品信息
	updateAttributeIsShow: req + '/applet/zsyh/agentParts/updateAttributeIsShow?', // 规格上架，下架
	updateAttribute: req + '/applet/zsyh/agentParts/updateAttribute?', // 修改规格信息
	updatePassword: req + '/applet/zsyh/agentinfo/updatePassword?', // 修改密码
	getUserRakerList: req + '/applet/zsyh/partsStore/getUserRakerList?', // 获取市县代理商列表
	getAreaByAgentIdd: req + '/applet/zsyh/agentinfo/getAreaByAgentId?', // 获取自己管辖的区县
	getCityByAgentId: req + '/applet/zsyh/agentinfo/getCityByAgentId?', // 获取自己管辖的市
	getProvinceByAgentId: req + '/applet/zsyh/agentinfo/getProvinceByAgentId?', // 获取自己管辖的省份
	upgradeCityPartsStore: req + '/applet/zsyh/partsStore/upgradeCityPartsStore?',  // 配件店省级为市县
	getPartsStoreList: req + '/applet/zsyh/partsStore/getPartsStoreList?', // 获取配件店列表
	getPartsStoreDetails: req + '/applet/zsyh/partsStore/getPartsStoreDetails?', // 配件店详情
	getPromiseList: req + '/applet/zsyh/agentinfo/getPromiseList?', // 获取所有的服务承诺列表
	saveFeedBack: req + '/applet/zsyh/agentinfo/saveFeedBack?', // 保存意见反馈
	getMessageByAgentId: req + '/applet/zsyh/agentinfo/getMessageByAgentId?', // 获取消息通知
	updateMessageById: req + '/applet/zsyh/agentinfo/updateMessageById?', // 阅读消息
	getMessageNum: req + '/applet/zsyh/agentinfo/getMessageNum?', // 未读的消息通知的条数
	inviteAgentCity: req + '/applet/zsyh/raker/inviteAgentCity?', // 邀请市县管理商
	getPartsListCheckByStoreId: req + '/applet/zsyh/parts/getPartsListCheckByStoreId?', // 获取匹配鉴定权产品列表
	savePartsCheck: req + '/applet/zsyh/parts/savePartsCheck?', // 匹配鉴定权 提交
	updateIsAppraisal: req + '/applet/zsyh/partsStore/updateIsAppraisal?', // 修改鉴定权限
	getUserRakerById: req + '/applet/zsyh/partsStore/getUserRakerById?', // 获取市县代理商详情
	updateCityArea: req + '/applet/zsyh/partsStore/updateCityArea?', // 修改市县的管辖区域
	getPartsStoreAuditList: req + '/applet/zsyh/partsStore/getPartsStoreAuditList?', // 获取待审核配件店列表
	auditPartsStore: req + '/applet/zsyh/partsStore/auditPartsStore?', // 审核配件店
	getQrCodeApplyListByAgentId: req + '/applet/zsyh/partsQrcode/getQrCodeApplyListByAgentId?', // 会长获取补助金申请记录（市县已经审核通过的）
	getQrCodeApplyDetails: req + '/applet/zsyh/partsQrcode/getQrCodeApplyDetails?', // 获取补助金申请详情
	saveQrCodeAppraisalByAgentId: req + '/applet/zsyh/partsQrcode/saveQrCodeAppraisalByAgentId?', // 会长鉴定
	getPartsStoreNum: req + '/applet/zsyh/partsStore/getPartsStoreNum?', // 获取配件店 数值
	getStorePartsOrderListByAgentId: req + '/applet/zsyh/storeParts/getStorePartsOrderListByAgentId?', // 获取店铺订单列表
	getStorePartsOrderDetails: req + '/applet/zsyh/storeParts/getStorePartsOrderDetails?', // 店铺订单详情
	deliverStorePartsOrder: req + '/applet/zsyh/storeParts/deliverStorePartsOrder?', // 产品订单 发货
	getServiceSettle: req + '/applet/zsyh/agentServiceOrder/getServiceSettle?', // 会长个人中心 结算数值
	getAreaByAgentId: req + '/applet/zsyh/agentAddress/getAreaByAgentId?', // 获取省市县 会长管辖区域的
	updatePhone: req + '/applet/zsyh/agentinfo/updatePhone?', // 修改登陆的手机号
	getServiceSettleDetails: req + '/applet/zsyh/agentServiceOrder/getServiceSettleDetails?', // 会长个人中心 本月收益详情
	getServiceSettleHistory: req + '/applet/zsyh/agentServiceOrder/getServiceSettleHistory?', // 会长 历史结算
	getStoreServiceOrderListByagentId: req + '/applet/zsyh/agentServiceOrder/getStoreServiceOrderListByagentId?', // 大区会长 获取服务订单列表
	getServiceOrderDetailsById: req + '/applet/zsyh/serviceOrder/getServiceOrderDetailsById?', // 获取服务订单详情，电子保单
	saveAgentOpenId: req + '/applet/zsyh/wxpay/saveAgentOpenId?', // 会长授权获取头像昵称 保存openId
	cancelCityPartsStore: req + '/applet/zsyh/partsStore/cancelCityPartsStore?', // 配件店取消升级市县
}

export default apiAll;